<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<input type="button" value="红色" onclick=" color('red');">
<input type="button" value="绿色" onclick=" color('green');">
<input type="button" value="橙色" onclick="color('orange');">
<input type="color" onchange="diy(this)">
<script src="js/script..js"></script>
</body>
</html>